package com.lcry.springcloud.dao;

import com.lcry.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * PaymentDao
 *
 * @author lcry
 * @date 2020/03/13 21:30
 * Dao层
 */
@Mapper
public interface PaymentDao {
    int create(Payment payment); //增

    Payment getPaymentById(@Param("id") Long id); //根据id查询
}
